﻿# CMakeList.txt: 顶层 CMake 项目文件，在此处执行全局配置
# 并包含子项目。
#
cmake_minimum_required (VERSION 3.8)
set(CMAKE_TOOLCHAIN_FILE "D:/soft/vcpkg2/scripts/buildsystems/vcpkg.cmake")
# 设置 vcpkg 工具链
#set(CMAKE_TOOLCHAIN_FILE "${CMAKE_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake")


#set(DCMAKE_VERBOSE_MAKEFILE ON)
add_compile_options(-std=c++11)
# Enable Hot Reload for MSVC compilers if supported.
# if (POLICY CMP0141)
 #  cmake_policy(SET CMP0141 NEW)
 #  set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT "$<IF:$<AND:$<C_COMPILER_ID:MSVC>,$<CXX_COMPILER_ID:MSVC>>,$<$<CONFIG:Debug,RelWithDebInfo>:EditAndContinue>,$<$<CONFIG:Debug,RelWithDebInfo>:ProgramDatabase>>")
# endif()

project ("vcpkg_integrate_test")

# 包含子项目。
add_subdirectory ("vcpkg_integrate_test")
add_subdirectory(3rdpart)
